package com.sgb.capital.api.service;

import com.sgb.capital.model.BaseEntity;
import com.sgb.capital.model.CommodityBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * 作者:张磊
 * 日期:2021/4/12 0012
 * 说明:商品
 */
public interface CommodityAPI {
    //发起的询价
    @GET("v1/app/user/goods/enquiry/enquiryList")
    Call<BaseEntity<CommodityBean>> enquiryList(@Query("limit") int limit, @Query("page") int page);
    //发起的询价
    @GET("v1/app/user/goods/enquiry/receivedEnquiryList")
    Call<BaseEntity<CommodityBean>> receivedEnquiryList(@Query("limit") int limit, @Query("page") int page);
    //发起的报价
    @GET("v1/app/user/goods/enquiry/publishQuotedEnquiryList")
    Call<BaseEntity<CommodityBean>> publishQuotedEnquiryList(@Query("limit") int limit, @Query("page") int page);
    //收到的报价
    @GET("v1/app/user/goods/enquiry/receivedQuotedList")
    Call<BaseEntity<CommodityBean>> receivedQuotedList(@Query("limit") int limit, @Query("page") int page);
}
